using System.Collections;
using System.Collections.Generic;
using PEProtocol;
using UnityEngine;



public abstract class BaseMode
{
   public PERoot mRoot;
   public NetSvc mNetSvc;
   public CPlayMode mPlayMode;


   public BaseMode(CPlayMode mode)
   {
      mPlayMode = mode;
      mRoot = PERoot.Instance;
      mNetSvc = mRoot.NetService;
   }

   public virtual void Enter()
   {
      mRoot.UIService.SwitchStageBaseUI(mPlayMode);
      mRoot.UIService.SetLoading(0,false);

   }

   public abstract void Update();
   public abstract void Exit();


}
